sudo apt-get install openssl -y
sudo apt-get install libssl-dev -y
#!/bin/sh
sudo mkdir /usr/local/include/libwebsockets

sudo cp libwebsocket/include/libwebsockets/*  /usr/local/include/libwebsockets
sudo cp libwebsocket/include/libwebsockets.h /usr/local/include/
sudo cp libwebsocket/include/lws_config.h /usr/local/include/

sudo mkdir /usr/local/lib/cmake/libwebsockets

sudo cp -r libwebsocket/libwebsockets/*  /usr/local/lib/cmake/libwebsockets
sudo cp libwebsocket/libwebsockets.a /usr/local/lib/
sudo cp libwebsocket/libwebsockets.so.19 /usr/local/lib/
sudo cp libwebsocket/libwebsockets.so /usr/local/lib/


sudo cp libwebsocket/libwebsockets.pc  /usr/local/lib/pkgconfig/
sudo cp libwebsocket/libwebsockets_static.pc  /usr/local/lib/pkgconfig/

sudo ldconfig

sudo cp GD_BLE_OTA.service  /etc/systemd/system/

sudo systemctl enable GD_BLE_OTA.service

sudo systemctl daemon-reload

sudo reboot

